home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 130 / 130.d81 / b.95 convertible (.txt) < prev    next >
Commodore BASIC  |  2022-08-26  |  2KB  |  44 lines

  1. 5 poke55,0:poke56,40
  2. 8 dv=peek(186):ifdv<8thendv=8
  3. 10 poke53281,0:poke53280,0:print"[147]":gosub60000
  4. 11 sys57812"95convert.fnt",dv,0:poke780,0:poke781,0:poke782,40:sys65493
  5. 12 poke53272,27
  6. 13 sys57812"95convert.key",dv,1:poke780,0:sys65493
  7. 14 sys57812"95convert.bin",dv,1:poke780,0:sys65493
  8. 15 sys57812"95convert.dta",dv,1:poke780,0:sys65493
  9. 115 sys49152
  10. 124 sys49155:clr
  11. 125 if(peek(49178))then40000
  12. 126 ui$="":forx=0to8:j=peek(49168+x)
  13. 128 ui$=ui$+chr$(j):next:ui=val(ui$)
  14. 130 va$="":forx=0to9:j=peek(49158+x)
  15. 132 va$=va$+chr$(j):next:va=val(va$)
  16. 133 an=ui*va:an$=str$(an):l=len(an$)
  17. 134 ifl>=16thenan$="   overflow!"
  18. 135 an$="               "+an$
  19. 136 an$=right$(an$,15)
  20. 140 print""an$:goto124
  21. 10000 dv=peek(186):open15,dv,15,"s0:b.95 convertible":close15
  22. 10010 save"b.95 convertible",dv:end
  23. 40000 fori=0to21:poke828+i,8+i:next
  24. 40010 ifdv<8ordv>29ordv=8then40030
  25. 40020 a=peek(828):b=peek(828+dv-8):poke828,b:poke828+dv-8,a
  26. 40030 a$="hello connect":forj=8to29:i=peek(828+j-8):ifi=14thennext
  27. 40040 close2:open2,i,2:close2:ifstthen40060
  28. 40050 close15:open15,i,15,"r0:"+a$+"="+a$:input#15,er:close15:ifer=63then40070
  29. 40060 next:print"[147]":poke53272,23:poke186,8:end
  30. 40070 q$=chr$(34):poke646,peek(53281):print"[147]":poke53272,23
  31. 40080 print"[147]p[207]2048,0:p[207]44,8:p[207]43,1:p[207]56,160:p[207]55,0:clr:l[207]"q$a$q$","i
  32. 40090 print"run:":poke631,13:poke632,13:poke198,2:end
  33. 60000 print"[147]":z$=" [152]                                      ":poke214,10:print
  34. 60010 print" [155][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184]":fori=0to9:printz$:next
  35. 60020 print" [151][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][152]"
  36. 60030 z$(0)="' 9 5    [195] [207] [206] [214] [197] [210] [212] [201] [194] [204] [197]":z$(1)="by [202]ohn [211]erafino
  37. 60040 z$(2)[178]"(c) 1995 by (NULL)oftdisk (NULL)ublishing"[170][199](13)
  38. 60050 z$(3)[178]"(NULL)his program is the copyrighted work
  39. 60060 z$(4)="of [211][207][198][212][196][201][211][203] [208][213][194][204][201][211][200][201][206][199].  [201]t is not"
  40. 60070 z$(5)="shareware or in the public domain."
  41. 60080 z$(6)="[212]o subscribe call 1-800-594-3370."
  42. 60090 poke214,12:print
  43. 60100 fori=0to6:printtab(20-(len(z$(i))/2))""z$(i):next:return
  44.